package com.inspur.cmis.base.custmanger.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * custbean
 */
@org.apache.ibatis.type.Alias(value = "cmLevelBean")
public class CmLevelBean {
    private Integer key;
    private Integer cmId;
    private String cmName;

    public String getCmName() {
        return cmName;
    }

    public void setCmName(String cmName) {
        this.cmName = cmName;
    }

    public Integer getCmId() {
        return cmId;
    }

    public void setCmId(Integer cmId) {
        this.cmId = cmId;
    }

    public Date getHoldDate() {
        return holdDate;
    }

    public void setHoldDate(Date holdDate) {
        this.holdDate = holdDate;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attacthment) {
        this.attachment = attacthment;
    }

    public Integer getKey() {
        return key;
    }

    public void setKey(Integer key) {
        this.key = key;
    }
    @DateTimeFormat(pattern = "yyyy/MM/dd")
    private Date holdDate;
    private String attachment;
    private String attachmentOri;
    private CmInfoBean cmInfoBean;

    public CmInfoBean getCmInfoBean() {
        return cmInfoBean;
    }

    public void setCmInfoBean(CmInfoBean cmInfoBean) {
        this.cmInfoBean = cmInfoBean;
    }

    public String getAttachmentOri() {
        return attachmentOri;
    }

    public void setAttachmentOri(String attachmentOri) {
        this.attachmentOri = attachmentOri;
    }
}